package com.itcast.service;

import com.itcast.entity.PageResult;
import com.itcast.entity.QueryPageBean;
import com.itcast.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    //新增检查套餐
    void add(Setmeal setmeal, Integer[] checkgroupIds);
    //分页查询
    PageResult findPage(QueryPageBean queryPageBean);
    //删除检查套餐
    void deleteById(Integer id);
    //查询Setmeal所有
    List<Setmeal> findAll();
    //查询单个套餐对象
    Setmeal findByIdSetMeal(int id);
    //扇形图展示数据
    List<Map<String, Object>> findSetmealCount();
}
